﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace Camping_Project_WEB.Models
{
    #region Modèles
    public class ReservationModels
    {
        [Required]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        [DataType(DataType.DateTime)]
        [DisplayName("Date d'arrivée")]
        public DateTime dateDebut { get; set; }

        [DisplayName("Selection date approximative")]
        public bool booldateApprox { get; set; }

        [Required]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        [DataType(DataType.DateTime)]
        [DisplayName("Date fin approximative")]
        public DateTime dateFinApprox { get; set; }

        [DisplayName("Selection date définitive")]
        public bool booldateDef { get; set; }

        [Required]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        [DataType(DataType.DateTime)]
        [DisplayName("Date de fin définitive")]
        public DateTime dateFinDef { get; set; }

        [Required]
        [DisplayName("Tente")]
        public bool tente { get; set; }

        [Required]
        [DisplayName("Caravane")]
        public bool caravane { get; set; }

        [Required]
        [DisplayName("Nombre d'adultes supplémentaires")]
        public int nbAdultes { get; set; }

        [Required]
        [DisplayName("Nombre d'enfants")]
        public int nbEnfants { get; set; }

        [Required]
        [DisplayName("Nombre d'animaux")]
        public int nbAnimaux { get; set; }

        [Required]
        [DisplayName("Nombre de véhicules")]
        public int nbVehicules { get; set; }

        [Required]
        [DisplayName("Raccordement electrique")]
        public bool electricite { get; set; }

        /*
        [Required]
        [DisplayName("Emplacement")]
        public int emplacement { get; set; }
        */
    }


    /*
        public class ChangePasswordModel
        {
            [Required]
            [DataType(DataType.Password)]
            [DisplayName("Mot de passe actuel")]
            public string OldPassword { get; set; }

            [Required]
            [ValidatePasswordLength]
            [DataType(DataType.Password)]
            [DisplayName("Nouveau mot de passe")]
            public string NewPassword { get; set; }

            [Required]
            [DataType(DataType.Password)]
            [DisplayName("Confirmer le nouveau mot de passe")]
            public string ConfirmPassword { get; set; }
        }
     */

    #endregion
}